package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 功能配置对象 app_function_configuration
 *
 * @author ruoyi
 * @date 2023-03-08
 */
public class AppFunctionConfiguration extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 安全登录，是否使用IP黑名单功能
     */
    @Excel(name = "安全登录，是否使用IP黑名单功能")
    private Long blacklistState;

    @TableField(exist = false)
    private Boolean blacklistStateEnBle;

    /**
     * 禁止普通用户添加好友
     */
    @Excel(name = "禁止普通用户添加好友")
    private Long addFriendState;

    @TableField(exist = false)
    private Boolean addFriendStateEnBle;

    /**
     * 禁止普通用户建群
     */
    @Excel(name = "禁止普通用户建群")
    private Long addGroupState;

    @TableField(exist = false)
    private Boolean addGroupStateEnBle;

    /**
     * 群组欢迎语功能
     */
    @Excel(name = "群组欢迎语功能")
    private Long welcomeState;

    @TableField(exist = false)
    private Boolean welcomeStateEnBle;

    /**
     * 朋友圈权限设置
     */
    @Excel(name = "朋友圈权限设置")
    private Long dynamicState;

    @TableField(exist = false)
    private Boolean dynamicStateEnBle;

    /**
     * 禁止群内发送图片
     */
    @Excel(name = "禁止群内发送图片")
    private Long groupPicState;

    @TableField(exist = false)
    private Boolean groupPicStateEnBle;

    /**
     * 禁止群内发送视频
     */
    @Excel(name = "禁止群内发送视频")
    private Long groupVideoState;
    @TableField(exist = false)
    private Boolean groupVideoStateEnBle;


    /**
     * 禁止群内发送地图
     */
    @Excel(name = "禁止群内发送地图")
    private Long groupMapState;

    @TableField(exist = false)
    private Boolean groupMapStateEnBle;

    @Excel(name = "禁止语音")
    private Long voiceState;
    @TableField(exist = false)
    private Boolean voiceStateEnBle;

    @Excel(name = "禁止邀请码")
    private Long invitationCodeState;

    @TableField(exist = false)
    private Boolean invitationCodeStateEnBle;

    public Long getInvitationCodeState() {
        return invitationCodeState;
    }

    public void setInvitationCodeState(Long invitationCodeState) {
        this.invitationCodeState = invitationCodeState;
    }

    public Boolean getInvitationCodeStateEnBle() {
        return invitationCodeStateEnBle;
    }

    public void setInvitationCodeStateEnBle(Boolean invitationCodeStateEnBle) {
        this.invitationCodeStateEnBle = invitationCodeStateEnBle;
    }

    public Long getVoiceState() {
        return voiceState;
    }

    public void setVoiceState(Long voiceState) {
        this.voiceState = voiceState;
    }

    public Boolean getVoiceStateEnBle() {
        return voiceStateEnBle;
    }

    public void setVoiceStateEnBle(Boolean voiceStateEnBle) {
        this.voiceStateEnBle = voiceStateEnBle;
    }

    public Boolean getBlacklistStateEnBle() {
        return blacklistStateEnBle;
    }

    public void setBlacklistStateEnBle(Boolean blacklistStateEnBle) {
        this.blacklistStateEnBle = blacklistStateEnBle;
    }

    public Boolean getAddFriendStateEnBle() {
        return addFriendStateEnBle;
    }

    public void setAddFriendStateEnBle(Boolean addFriendStateEnBle) {
        this.addFriendStateEnBle = addFriendStateEnBle;
    }

    public Boolean getAddGroupStateEnBle() {
        return addGroupStateEnBle;
    }

    public void setAddGroupStateEnBle(Boolean addGroupStateEnBle) {
        this.addGroupStateEnBle = addGroupStateEnBle;
    }

    public Boolean getWelcomeStateEnBle() {
        return welcomeStateEnBle;
    }

    public void setWelcomeStateEnBle(Boolean welcomeStateEnBle) {
        this.welcomeStateEnBle = welcomeStateEnBle;
    }

    public Boolean getDynamicStateEnBle() {
        return dynamicStateEnBle;
    }

    public void setDynamicStateEnBle(Boolean dynamicStateEnBle) {
        this.dynamicStateEnBle = dynamicStateEnBle;
    }

    public Boolean getGroupPicStateEnBle() {
        return groupPicStateEnBle;
    }

    public void setGroupPicStateEnBle(Boolean groupPicStateEnBle) {
        this.groupPicStateEnBle = groupPicStateEnBle;
    }

    public Boolean getGroupVideoStateEnBle() {
        return groupVideoStateEnBle;
    }

    public void setGroupVideoStateEnBle(Boolean groupVideoStateEnBle) {
        this.groupVideoStateEnBle = groupVideoStateEnBle;
    }

    public Boolean getGroupMapStateEnBle() {
        return groupMapStateEnBle;
    }

    public void setGroupMapStateEnBle(Boolean groupMapStateEnBle) {
        this.groupMapStateEnBle = groupMapStateEnBle;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setBlacklistState(Long blacklistState) {
        this.blacklistState = blacklistState;
    }

    public Long getBlacklistState() {
        return blacklistState;
    }

    public void setAddFriendState(Long addFriendState) {
        this.addFriendState = addFriendState;
    }

    public Long getAddFriendState() {
        return addFriendState;
    }

    public void setAddGroupState(Long addGroupState) {
        this.addGroupState = addGroupState;
    }

    public Long getAddGroupState() {
        return addGroupState;
    }

    public void setWelcomeState(Long welcomeState) {
        this.welcomeState = welcomeState;
    }

    public Long getWelcomeState() {
        return welcomeState;
    }

    public void setDynamicState(Long dynamicState) {
        this.dynamicState = dynamicState;
    }

    public Long getDynamicState() {
        return dynamicState;
    }

    public void setGroupPicState(Long groupPicState) {
        this.groupPicState = groupPicState;
    }

    public Long getGroupPicState() {
        return groupPicState;
    }

    public void setGroupVideoState(Long groupVideoState) {
        this.groupVideoState = groupVideoState;
    }

    public Long getGroupVideoState() {
        return groupVideoState;
    }

    public void setGroupMapState(Long groupMapState) {
        this.groupMapState = groupMapState;
    }

    public Long getGroupMapState() {
        return groupMapState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("remark", getRemark()).append("blacklistState", getBlacklistState()).append("addFriendState", getAddFriendState()).append("addGroupState", getAddGroupState()).append("welcomeState", getWelcomeState()).append("dynamicState", getDynamicState()).append("groupPicState", getGroupPicState()).append("groupVideoState", getGroupVideoState()).append("groupMapState", getGroupMapState()).toString();
    }
}
